Repository navigation
feat(supply-chain): execute the dependency policy with cargo-deny (Y43) - #7
Merged
Merged
Conversation
Align deny.toml on the constellation base policy (licence allowlist of ADR-0042 §4 and §11, crates.io as the only registry, git trust bounded to the libre-ai organisation, allow-wildcard-paths for the private workspace crates) and execute it from check:rust, so the required check now covers advisories, bans, licenses and sources of the 99 locked packages. Until now the file was versioned and executed by nothing. cargo-deny 0.19.5 is fetched by the gate and verified against the archive sha256 pinned by the fleet template, because the composition runner does not install it. Owner-arbitration: 2026-10-09 Claude-Session: https://claude.ai/code/session_01Qw4AExV42cXJ67Sj9dqLVf Signed-off-by: Constantin <74049135+constantin-jais@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Owner-arbitration: 2026-10-09
What
The existing
deny.tomlwas versioned and executed by nothing; it is aligned on the base policy and now executed bycheck:dependency-policy, called first incheck:rust(part ofbun run check, hencecomposition / validate).deny.tomlis the constellation base policy, byte-identical toproject-governance/deny.tomlas aligned in the authority PR: licence allowlist of ADR-0042 §4 and §11 (MIT, MIT-0, Apache-2.0, BSD-2/3-Clause, ISC, MPL-2.0, Unicode-3.0, Zlib; no linked GPL, no AGPL/SSPL), crates.io as the only registry, git trust bounded tolibre-ai,yanked = "deny",wildcards = "deny"withallow-wildcard-paths = true(cargo-deny 0.19.5: path/git deps of private crates are not wildcards; a registry*stays refused, verified on a scratch workspace).tools/quality/check-dependency-policy.ts(+ tests) fetches cargo-deny 0.19.5, verifies the archive sha256 (linux-x64 digest identical toreusable-dependency-policy.yml), runs--locked check advisories bans licenses sources, fails on an unreadabledeny.toml/Cargo.lock, and prints the number of locked packages inspected. The composition runner installs no cargo-deny, hence the fetch.Advisories are blocking (Y43), unlike the fleet template which only reports them; an accepted risk goes through a dated waiver per
docs/security/ADVISORY-WAIVER-POLICY.md. No waiver is added.Local result
No workflow,
Cargo.lock,revor pin file is touched.https://claude.ai/code/session_01Qw4AExV42cXJ67Sj9dqLVf